'''
Created on 16-07-2013

@author: Lukasz Rytel
'''

from graph.GraphStructure import GraphStructure
from graph.Graph_properties import Graph_properties

def intro_msg():
    msg = "--------------------------------------------------"
    msg += "\nWarsaw University of Technology"
    msg += "\nFaculty of Electronics and Information Technology\n"
    msg += "Research on machine graph\n"
    msg += "--------------------------------------------------"
    print msg

def test_graph():
    nodes = 6
    edges = 15
    direction = "OFF"
    manual_settings = Graph_properties(nodes, edges, direction)
    g1 = GraphStructure(manual_settings)
    g1.set_name("g1")
    g1.print_info()
    print "-------------------"
    g2 = GraphStructure()
    g2.set_name("g2")
    g2.print_info()
    print "-------------------"
    g1.is_equel(g2)

def main():
    intro_msg()
    test_graph()
    print "Done."
    
if __name__ == '__main__':
    main()
    pass